UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The vCenter Perfcharts service must set URIEncoding to UTF-8.


Overview

Finding ID Version Rule ID IA Controls Severity
V-259081 VCPF-80-000065 SV-259081r961158_rule Medium
Description
Invalid user input occurs when a user inserts data or characters into a hosted application's data entry field and the hosted application is unprepared to process that data. This results in unanticipated application behavior, potentially leading to an application compromise. Invalid user input is one of the primary methods employed when attempting to compromise an application. An attacker can also enter Unicode characters into hosted applications in an effort to break out of the document home or root home directory or bypass security checks.
STIG Date
VMware vSphere 8.0 vCenter Appliance Perfcharts Security Technical Implementation Guide 2024-07-11

Details

Check Text ( C-62821r934899_chk )
At the command prompt, run the following command:

# xmllint --xpath "//Connector[@URIEncoding != 'UTF-8'] | //Connector[not[@URIEncoding]]" /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml

Expected result:

XPath set is empty

If any connectors are returned, this is a finding.
Fix Text (F-62730r934900_fix)
Navigate to and open:

/usr/lib/vmware-perfcharts/tc-instance/conf/server.xml

Configure the node with the value:

URIEncoding="UTF-8"

Restart the service with the following command:

# vmon-cli --restart perfcharts